/**
 * @description: ContentType
 */
export enum ContentTypeEnum {
  // form-data qs
  FORM_URLENCODED = "application/x-www-form-urlencoded;charset=UTF-8",
  // form-data upload
  FORM_DATA = "multipart/form-data;charset=UTF-8",
  // json
  JSON = "application/json;charset=UTF-8"
}

/**
 * @description: 与后端协定的状态 code
 */
export enum ResultEnum {
  SUCCESS = "200",
  SUCCESS2 = "",
  ERROR_BUSINESS = "001",
  ERROR_SYSTEM = "002",
  ERROR_PARAM = "003",
  ERROR = 1,
  UNAUTHORIZED = "20004",
  UNAUTHORIZED2 = "20005",
  TIMEOUT = "20003"
}

export enum RoomType {
  // 直播
  LIVE = "LIVE",
  // 课题
  SUBJECT = "SUBJECT",
  // 训练营
  TRAIN = "TRAIN"
}

export enum RewardType {
  ANSWER_RP = "答题红包",
  COMPLETED_RP = "完成红包",
  COMBINE_RP = "组合红包"
}
